package com.mall.b2c.service;

import com.mall.b2c.bean.IntergralShopOrderBean;
import com.mall.b2c.domain.delivery.DeliveryMethodDomain;
import com.mall.b2c.domain.intergral.IntergralDomain;
import com.mall.b2c.domain.intergral.ShopOrderDomain;
import com.mall.common.bean.Message;
import com.mall.common.service.BaseService;

import java.util.Date;
import java.util.List;
import java.util.Map;


/**
 * Service接口 - 商品
 */
public interface IntergralOrderService extends BaseService<ShopOrderDomain, Long>  {

    public Message send(Long id, DeliveryMethodDomain methodDomain, String express);
    public Message received(Long id);
    public List<IntergralShopOrderBean> getOrderList(Long userId,String orderby);
    public Message exchange(IntergralShopOrderBean orderBean);
    void createOrder(Long currStoreId, Long memberId, Long[] cartItemIds, String name, String phone, String address,Long store);
    public List<Map<String, Object>>findList(Date startDate, Date endDate);
}


